import service from '@/utils/request'

// @Tags MergeForm_struct
// @Summary 创建MergeForm_struct
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MergeForm_struct true "创建MergeForm_struct"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /MF/createMergeForm_struct [post]
export const createMergeForm_struct = (data) => {
  return service({
    url: '/MF/createMergeForm_struct',
    method: 'post',
    data
  })
}

// @Tags MergeForm_struct
// @Summary 删除MergeForm_struct
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MergeForm_struct true "删除MergeForm_struct"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /MF/deleteMergeForm_struct [delete]
export const deleteMergeForm_struct = (data) => {
  return service({
    url: '/MF/deleteMergeForm_struct',
    method: 'delete',
    data
  })
}

// @Tags MergeForm_struct
// @Summary 删除MergeForm_struct
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除MergeForm_struct"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /MF/deleteMergeForm_struct [delete]
export const deleteMergeForm_structByIds = (data) => {
  return service({
    url: '/MF/deleteMergeForm_structByIds',
    method: 'delete',
    data
  })
}

// @Tags MergeForm_struct
// @Summary 更新MergeForm_struct
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.MergeForm_struct true "更新MergeForm_struct"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /MF/updateMergeForm_struct [put]
export const updateMergeForm_struct = (data) => {
  return service({
    url: '/MF/updateMergeForm_struct',
    method: 'put',
    data
  })
}

// @Tags MergeForm_struct
// @Summary 用id查询MergeForm_struct
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.MergeForm_struct true "用id查询MergeForm_struct"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /MF/findMergeForm_struct [get]
export const findMergeForm_struct = (params) => {
  return service({
    url: '/MF/findMergeForm_struct',
    method: 'get',
    params
  })
}

// @Tags MergeForm_struct
// @Summary 分页获取MergeForm_struct列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取MergeForm_struct列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /MF/getMergeForm_structList [get]
export const getMergeForm_structList = (params) => {
  return service({
    url: '/MF/getMergeForm_structList',
    method: 'get',
    params
  })
}
